From 7bce2773a86b6d62487ab4bcb6931fbc44955d9e Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 3 Feb 2014 17:59:39 +0200 Subject: [PATCH] * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): `private', `protected' and `public' can also be called without arguments. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/ruby-mode.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d37cd0e394a..06a68ebfcaf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-02-03 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private', + `protected' and `public' can also be called without arguments. + 2014-02-03 Glenn Morris * register.el (window-configuration-to-register) diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 22de9a83f2b..96835fc9892 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -2059,9 +2059,6 @@ See `font-lock-syntax-table'.") "include" "module_function" "prepend" - "private" - "protected" - "public" "refine" "using") 'symbols)) @@ -2082,6 +2079,9 @@ See `font-lock-syntax-table'.") "exit" "exit!" "fail" + "private" + "protected" + "public" "raise" "rand" "readline" -- 2.30.2